<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>{$info['title']}<notempty name="catname">-{$catname}</notempty></title> {*原来这里用模板保留变量时要去掉$Think.get.id中的$符号*}
<meta name="keywords" content="{$info['keywords']}<notempty name="catname">,{$catname}</notempty>">
<meta name="description" content="{$info['description']}">
<link rel="stylesheet" href="../Public/css/style.css" type="text/css" media="screen">
 
<link rel="stylesheet" type="text/css" href="../Public/css/style-normal-text.css"><!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="../Public/css/ie6.css" />
<![endif]--><link rel="stylesheet" id="wp-pagenavi-css" href="../Public/css/pagenavi-css.css" type="text/css" media="all">

<link rel="stylesheet" href="../Public/css/comment-info-detector.css" type="text/css" media="screen">
<style type="text/css">
	.recentcomments a{
		display:inline !important;
		padding:0 !important;
		margin:0 !important;
	}
	.car-collapse .car-yearmonth {
		cursor: s-resize; 
	} 
</style>

</head>
<body>
<div id="wrap">
<div id="header">
	<div class="blog-name"><h1><a href="./blog/piterus的个人博客.htm" title="piterus的个人博客">个人博客</a></h1></div>
	<table>
	 <tbody><tr>
	 <td>
		<ul class="menu">
			<li><a href="__APP__">首页</a></li>
			<volist name="cat" id='vo'>
				<li class="page_item page-item-8"><a href="__APP__/Index/index/id/{$vo.id}">{$vo.name}</a></li>
			</volist>

			<li class="page_item page-item-19"><a href="__APP__/Message/index" title="留言板">留言板</a></li>
			<li class="page_item page-item-2"><a href="__APP__/Index/about" title="关于">About</a></li>
		</ul>
	 </td>
	 <td>
		<div id="top-search">
			<form action="__APP__/Index/index/" method="post">
			<input type="text" class="txt" id="tops" name="s" size="36" value="">
			<input type="submit" class="btn" id="topbtn" name="submit" value="Search">
			</form>
		</div>
	 </td>
	 </tr>
	</tbody></table>
</div>
<!--end header-->
<div id="container">
	<div id="content">
		<div id="content-inner">
		<assign name='i' value=0 >
		<volist name="a" id="vo">	
			
					<div class="post-data">
						<div class="date en"><em>{$vo.creatime|date='d',###}</em><small>{$vo.creatime|date='Y',###|substr=-2}-{$vo.creatime|date="m",###}</small></div>
						<h3><span>分类：<a href="">{$vo.name}</a></span><span>作者：{$vo.anchor}</span> <span>阅读次数：{$vo.shownum} views</span><span><a href="#/?p=630#comments">评论次数：{$vo.commentnum}</a></span>
						</h3>
						<h2><a href="__APP__/Article/index/id/{$vo.id}">
						{*如果搜索的时候就转换为大写才能进行关键词匹配变色、如果没有搜索直接输出原样*}
						<if condition="$s">{$vo.title|strtoupper|str_replace=$s,$e,###|substr=0,100}<else />{$vo.title|substr=0,100}</if></a></h2>
					</div>
					<div class="post-txt">
					<if condition="(strstr($vo[attachment],'.') neq '.rar') and ($vo[attachment] neq '')"> {*如果pic字段不为空并且不为.rar才会显示图片*}
					<p><a href="__APP__/Article/index/id/{$vo.id}"><img class="alignnone size-full wp-image-605" title="{$vo.title}" src="__PUBLIC__/uploads/{$vo.pic}" alt="" style="width: 550px; "></a></p>
					</if>
					{$vo.discription|substr=0,600}</div>
			</div>

		</volist>
			<div class="wp-pagenavi">
					{$fpage}
			</div>
	</div>
	</div>
<div id="sidebar">
<div class="widget widget_text"><h3>赞助商</h3>			<div class="textwidget">
<!-- nuffnang-->
	</div>
		</div><div class="widget widget_categories">
		<h3>分类目录</h3>
		<div class="all_category">
			<volist name="all_cat" id="vo">
			<php>
				if($vo[count]>2){
					for($i=0;$i<$vo[count];$i++){
						echo '&nbsp;';
					}
				echo '┠';
				}
				
			</php>
				<a href="__URL__/index/id/{$vo.id}">{$vo.name}</a> <br >
			</volist>
		</div>
</div>
<div class="widget widget_archive">
	<h3>文章归档</h3>		
		<ul>
			<volist name="date" id="vo">
			<li><a href="__URL__/index/date/{$vo.date}" title="2011 年八月">{$vo.date|str_replace='-','年',###}月({$vo.artnum})</a></li>
			</volist>
		</ul>
</div>		
<div class="widget widget_recent_entries">		<h3>最近文章</h3>		
				<ul>
				<volist name="new_art" id="vo">
					<li><a href="__APP__/Article/index/id/{$vo.id}" title="{$vo.title}">{$vo.title}</a></li>
				</volist>
				</ul>
		</div>
		<div class="widget widget_recent_comments">
			<h3>近期评论</h3>
			<ul id="recentcomments">
			<volist name="comment" id="vo">
				<li class="recentcomments">
					<a href="__APP__/Article/index/id/{$vo.pid}" title="{$vo.username}&nbsp;在&nbsp;{$vo.title}&nbsp;评论">{$vo.comment} </a>
				</li>
			</volist>
			</ul>
		</div>
		<div class="widget widget_links">
		<h3>链接表</h3>
		<ul class="xoxo blogroll">
			<volist name="flink" id="vo">
			<li><a href="{$vo.link}" target="_blank">{$vo.name}</a></li>
			</volist>
		</ul>
</div>
<div class="widget widget_meta"><h3>功能</h3>			
		<ul>
			<li><a href="__ROOT__/admin.php/Public/login">登录</a></li>
             <li>{$info.stat}</li>
            
		</ul>
</div></div>
</div><!--end container-->
<div id="footer">
		<div class="copyright">
		Copyright © 2011 		<em><a href="http://t.qq.com/fanwenf">Miss.Once</a></em> All rights reserved.
		</div>
</div><!--end footer-->
</div>

</body></html>